package Tets;

public class Model {
	private String date;	  
	private String stratPrice;//开盘价
	private String highPrice; //最高价
	private String lowPrice;  //最低价
	private String endPrice;  //收盘价
	private String transaction;//成交金额
	private String  account; //成交量
	private String unknow ;//未知
	private String rose;//上涨幅度
	private String drop;//下降幅度
	private String newDate;//新数据
	private String endDate;//末尾数据
	public String getDate() {
		return date;
	}
	public void setDate(String date) {
		this.date = date;
	}
	public String getStratPrice() {
		return stratPrice;
	}
	public void setStratPrice(String stratPrice) {
		this.stratPrice = stratPrice;
	}
	public String getHighPrice() {
		return highPrice;
	}
	public void setHighPrice(String highPrice) {
		this.highPrice = highPrice;
	}
	public String getLowPrice() {
		return lowPrice;
	}
	public void setLowPrice(String lowPrice) {
		this.lowPrice = lowPrice;
	}
	public String getEndPrice() {
		return endPrice;
	}
	public void setEndPrice(String endPrice) {
		this.endPrice = endPrice;
	}
	public String getTransaction() {
		return transaction;
	}
	public void setTransaction(String transaction) {
		this.transaction = transaction;
	}
	public String getAccount() {
		return account;
	}
	public void setAccount(String account) {
		this.account = account;
	}
	public String getUnknow() {
		return unknow;
	}
	public void setUnknow(String unknow) {
		this.unknow = unknow;
	}
	public String getRose() {
		return rose;
	}
	public void setRose(String rose) {
		this.rose = rose;
	}
	public String getDrop() {
		return drop;
	}
	public void setDrop(String drop) {
		this.drop = drop;
	}
	public String getNewDate() {
		return newDate;
	}
	public void setNewDate(String newDate) {
		this.newDate = newDate;
	}
	public String getEndDate() {
		return endDate;
	}
	public void setEndDate(String endDate) {
		this.endDate = endDate;
	}
	public Model() {
		super();
		// TODO Auto-generated constructor stub
	}
	
	
	
	public Model(String []temp) {
		super();
		this.date = temp[0];
		this.stratPrice = temp[1];
		this.highPrice = temp[2];
		this.lowPrice = temp[3];
		this.endPrice = temp[4];
		this.transaction = temp[5];
		this.account = temp[6];
		this.unknow = temp[7];
		this.rose = temp[8];
		this.drop = temp[9];
		this.newDate = temp[10];
		this.endDate = temp[11];
		
	}
	public Model(String date, String stratPrice, String highPrice,
			String lowPrice, String endPrice, String transaction,
			String account, String unknow, String rose, String drop,
			String newDate, String endDate) {
		super();
		this.date = date;
		this.stratPrice = stratPrice;
		this.highPrice = highPrice;
		this.lowPrice = lowPrice;
		this.endPrice = endPrice;
		this.transaction = transaction;
		this.account = account;
		this.unknow = unknow;
		this.rose = rose;
		this.drop = drop;
		this.newDate = newDate;
		this.endDate = endDate;
	}
	@Override
	public String toString() {
		return date + "," + stratPrice
				+ "," + highPrice + "," + lowPrice
				+ "," + endPrice + "," + transaction
				+ "," + account + "," + unknow + ","
				+ rose + "," + drop + "," + newDate
				+ "," + endDate;
	}
	

}
